package com.bd.scm.domain.models.workCalendar;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.bd.scm.domain.models.leave.BdLeaveOrder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**工作日历实体
 * Created with IntelliJ IDEA.
 * User: _Cps
 * Date: 2020.07.08 15:43
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("bd_kq_work_calendar")
public class WorkCalendar extends Model<WorkCalendar> {

    /**
     * ID 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     *日历名称
     */
    @TableField("calendar_name")
    private String calendarName;

    /**
     *备注
     */
    @TableField("remark")
    private String remark;

    /**
     *年份
     */
    @TableField("calendar_year")
    private Integer calendarYear;

    /**
     *星期一班次
     */
    @TableField("shift_id_monday")
    private Integer shiftIdMonday;

    /**
     *星期二班次
     */
    @TableField("shift_id_tuesday")
    private Integer shiftIdTuesday;

    /**
     *星期三班次
     */
    @TableField("shift_id_wendesday")
    private Integer shiftIdWendesday;

    /**
     *星期四班次
     */
    @TableField("shift_id_thuesday")
    private Integer shiftIdThuesday;

    /**
     *星期五班次
     */
    @TableField("shift_id_friday")
    private Integer shiftIdFriday;

    /**
     *星期六班次
     */
    @TableField("shift_id_saturday")
    private Integer shiftIdSaturday;

    /**
     *星期天班次
     */
    @TableField("shift_id_sunday")
    private Integer shiftIdSunday;

    /**
     *创建人
     */
    @TableField("create_by")
    private String createBy;

    /**
     *创建时间
     */
    @TableField("create_time")
    private String createTime;

    /**
     *最后修改人
     */
    @TableField("update_by")
    private String updateBy;

    /**
     *最后修改时间
     */
    @TableField("update_time")
    private String updateTime;

}
